package com.ebelter.btcomlib.models.bluetooth.products.bracelet.bean;


import com.ebelter.btcomlib.utils.TimeUtils;

public class WalkBean {
    //锻炼的3元素 步的总数 里程 卡路里
    public long timeLong;
    public String timeStr;
    public int steps;
    public float distance;
    public float calories;

    public int houreSteps;
    public float houreDistance;
    public float houreCalories;

    public void setTimeLong(long timeLong) {
        this.timeLong = timeLong;
        timeStr= TimeUtils.formatTime1(timeLong);
    }

    @Override
    public String toString() {
        return "WalkBean{" +
                "timeLong=" + timeLong +
                ", timeStr='" + timeStr + '\'' +
                ", steps=" + steps +
                ", distance=" + distance +
                ", calories=" + calories +
                ", houreSteps=" + houreSteps +
                ", houreDistance=" + houreDistance +
                ", houreCalories=" + houreCalories +
                '}';
    }
}
